AM_CPPFLAGS =  \
	-I$(top_srcdir)/../nhd2-exp/src \
	-I$(top_srcdir)/../nhd2-exp/src/zapit/include/zapit \
	-I$(top_srcdir)/../nhd2-exp/lib \
	-I$(top_srcdir)/../nhd2-exp/lib/connection \
	-I$(top_srcdir)/../nhd2-exp/lib/libeventserver \
	-I$(top_srcdir)/../nhd2-exp/lib/libconfigfile \
	-I$(top_srcdir)/../nhd2-exp/lib/libnet \
	-I$(top_srcdir)/../nhd2-exp/lib/libxmltree \
	-I$(top_srcdir)/../nhd2-exp/lib/libmd5sum \
	-I$(top_srcdir)/../nhd2-exp/lib/libdvbapi \
	-I$(top_srcdir)/../nhd2-exp/lib/libupnpclient \
	@FREETYPE_CFLAGS@

noinst_LTLIBRARIES = tuxcom.la

tuxcom_la_SOURCES = tuxcom.cpp

tuxcom_la_LIBADD = \
	 @FREETYPE_LIBS@ \
	-lz
	 
tuxcom_la_LDFLAGS = -rpath $(PLUGINDIR) -module -avoid-version 

install-exec-local:
	install -d $(DESTDIR)$(PLUGINDIR)/tuxcom
	install .libs/tuxcom.so $(DESTDIR)$(PLUGINDIR)/tuxcom
	install -m 0644 $(srcdir)/tuxcom.cfg $(DESTDIR)$(PLUGINDIR)/tuxcom

uninstall-local:
	-rm $(DESTDIR)$(PLUGINDIR)/tuxcom/tuxcom.so
	-rm $(DESTDIR)$(PLUGINDIR)/tuxcom/tuxcom.cfg
	-rmdir $(DESTDIR)$(PLUGINDIR)/tuxcom
